<!--index.html-->
<!DOCTYPE html>
<html lang="en-gb">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>WebView消息端口演示</title>
</head>

<body style="width: 100%;height: 100%;padding: 0px">
<h1>Html5发送和接收消息</h1>
<h3 id="msg">接收 string:</h3>
<h3 id="msg2">接收 arraybuffer:</h3>
<div style="font-size: 10pt; text-align: center;">
    <input type="button" value="发送 String" onclick="postStringToApp();"/><br/>
</div>
</body>
<script src="index.js"></script>
</html>